﻿using System;
using System.Runtime.Serialization;

namespace JTLeigh.Commerce.Spencer.Features.ProductFeedback.Service.Contracts.Runtime.GetProductFeedback
{

    /// <summary>
    /// Data contract representing a badge that can be applied to product feedback.
    /// </summary>
    [DataContract(Name = "ProductFeedbackBadge", Namespace = "http://schemas.jtleigh.com/Commerce/Spencer/Features/ProductFeedback/1.0/Runtime/GetProductFeedback/")]
    public class ProductFeedbackBadge
    {

        #region Properties

        /// <summary>
        /// Gets or sets the badge identifier.
        /// </summary>
        /// <value>A badge identifier <see cref="Guid"/>.</value>
        [DataMember(Name = "BadgeId", IsRequired = true)]
        public Guid BadgeId { get; set; }

        /// <summary>
        /// Gets or sets the well-known badge code.
        /// </summary>
        /// <value>A well-known badge code <see cref="Byte"/>.</value>
        [DataMember(Name = "WellKnownBadgeCode", IsRequired = true)]
        public byte WellKnownBadgeCode { get; set; }

        #endregion // Properties

    }

}
